package com.czmh.etc.onlinepubsys.constants;

/**
 * 全局返回码定义常量类
 * 
 * @author Seven
 * @since 2016-8-12
 * @version 1.0
 */
public interface GlobalStatusCode {
	public static final String SUCCESS_MSG = "操作成功";
	public static final String FAILED_MSG = "操作失败";
	public static final String TOKENEXPIRES_MSG = "access_token票据过期，请刷新票据";
	public static final String USERNOTEXIST_MSG = "您操作的会员不存在";
	public static final String WRONG_PASSWORD_MSG = "登录账号或密码错误";
	public static final String VERCODEINCOORECT_MSG = "验证码错误";
	public static final String UPDATE_DINGQUAN_COMMENT_FAILED = "评论失败";
	public static final String WITHDRAWMONEY_NOT_ENOUGH = "提现金额不能大于账户余额";
	public static final String RECOMMENDCODE_FAILED_MSG="无效推荐码,请重新输入";
	public static final String RECOMMENDCODE_FAILED_CODE="6004";
	public static final String DUPLICATE_FAILED_TAG="6005";
	public static final String EXCEPTION = "服务器开小差，请稍后再试";
	public static final String REQUEST_PARAM_NULL="6006";
	public static final String EDIT_SUCCESS = "修改成功";
	public static final String NULL_TANSUO = "该探索已被删除";
	public static final String ADMIN_CANNOT_CHILD_DELDEPARTMENT_MSG = "该部门有子部门不能直接删除";
	public static final String ADMIN_CANNOT_DELDEPARTMENT_MSG = "后台被引用部门不能直接删除";
	public static final String ADMIN_CANNOT_DELFUNCTION_CHILD_MSG = "不能删除有子节点的菜单、权限";
	public static final String ADMIN_CANNOT_DELFUNCTION_ROLE_MSG = "不能删除有角色引用";
	public static final String ADMIN_CANNOT_DELROLE_MSG = "不能删除用户引用角色";
	public static final String LONGIN_NAME_ALEADY_USED_MSG = "该登录账号已经被使用";
	public static final String PHONE_ALEADY_BOUND_MSG = "该手机号码已被绑定，请输入可用手机号码";
	public static final String MANUFACTURER_CANNOT_DEL_PRODUCT_CATEGORY_MSG = "厂商产品引用的类别不能直接删除";
	public static final String QRCODE_UNIQUE_IDENTIFIER_MSG = "二维码账号唯一标识错误";
	public static final String QRCODE_SCANED_MSG = "二维码已扫";
	public static final String PARAMS_FAIL_MSG = "参数异常";
	public static final String MALL_PRODUCT_NO_STOCK_FAIL_MSG = "兑换礼品的库存不足";
	public static final String MALL_EXCHANGE_NO_INTEGRAL_FAIL_MSG = "兑换礼品的积分不够";
	public static final String PARAMS_BATCH_NUM_MSG = "厂商批次号异常";
	public static final String PARAMS_PARENT_NUM_MSG = "该产品的母码未进行扫描";
	
	public static final String ADDPRODUCTRULE_CHECK_MSG = "产品在该时间段内已绑定其他规则";
	
	public static final String BINDWECHATFAILMSG = "账号绑定失败，请稍后重试";
	public static final String USER_DISABLE_MSG = "该用户已被禁用，请联系后台管理员！";
	
	/**
	 * 操作成功
	 */
	public static final String SUCCESS = "200";
	/**
	 * 操作失败
	 */
	public static final String FAILED = "1";
	/**
	 * access_token票据过期，请刷新票据
	 */
	public static final String TOKENEXPIRES = "3001";
	
	public static final String _400 = "400";
	public static final String _401 = "401";
	public static final String _404 = "404";
	public static final String _500 = "500";
	
	public static final String _400_MSG = "bad request，请求报文存在语法错误";
	public static final String _401_MSG = "请求需要携带通过 HTTP 认证的认证信息";
	public static final String _404_MSG = "请求的接口地址不存在";
	public static final String _500_MSG = "服务器开小差，请稍后再试";
	/**
	 * 您操作的会员不存在
	 */
	public static final String USERNOTEXIST = "3002";
	/**
	 * 您操作的会员已被禁用
	 */
	public static final String USER_DISABLE = "3003";
	/**
	 * 各项/手机/邮箱等验证码输入错误
	 */
	public static final String VERCODEINCOORECT = "4001";

	/**
	 * 加好友请求不存在
	 */
	public static final String FRIENDSREQ_NOT_EXIST = "2001";
	/**
	 * 用户被禁用
	 */
	public static final String USERDISABLE = "6015";
	/**
	 * access_token失效时间
	 */
	public static final String EXPIRES_IN = "7200";
	/**
	 * 二维码账号唯一标识错误
	 */
	public static final String QRCODE_UNIQUE_IDENTIFIER = "7201";
	/**
	 * 二维码已扫
	 */
	public static final String QRCODE_SCANED = "7202";
	/**
	 * 登录账号或密码错误
	 */
	public static final String WRONG_PASSWORD = "1001";
	/**
	 * 原始密码错误，请重新输入
	 */
	public static final String WRONG_USEDPASSWORD = "1002";

	/**
	 * 该登录账号已经被使用
	 */
	public static final String LONGIN_NAME_ALEADY_USED = "1003";
	/**
	 * 该手机号码已被绑定，请输入可用手机号码
	 */
	public static final String PHONE_ALEADY_BOUND = "1004";
	/**
	 * 你输入的邮箱已绑定，请核对后重新输入
	 */
	public static final String EMAIL_ALEADY_BOUND = "1005";

	/**
	 * 您的用户密保问题答案错误
	 */
	public static final String WRONG_PROBLEM = "1006";

	/**
	 * 您提交的意见反馈次数不能超过3次，提交失败
	 */
	public static final String FEEDBACK_EXCEPT = "1007";

	/**
	 * 您输入的手机号格式不正确
	 */
	public static final String WORNG_PHONE = "1008";

	/**
	 * 您输入的手机码尚未注册，请核对后重新输入
	 */
	public static final String PHONE_NOT_REGISTER = "1009";
	/**
	 * 您输入的邮箱格式不正确
	 */
	public static final String WORNG_EMAIL = "1010";
	/**
	 * 测试环境下手机验证码直接显示到界面，不发送到对应手机
	 */
	public static final String SMS_NOT_SEND = "1011";

	/**
	 * 你输入的邮箱尚未绑定，请核对后重新输入
	 */
	public static final String EMAIL_NOT_BOUND = "1012";

	/**
	 * 重置密码成功 2s后自动返回登录页
	 */
	public static final String RESET_PASS_SUCESS = "1013";
	
	/**
	 * 跳转微信授权页面失败
	 */
	public static final String WX_OAUTHFAIL = "4002";
	/**
	 * 后台被引用部门不能直接删除
	 */
	public static final String ADMIN_CANNOT_DELDEPARTMENT="100001";
	/**
	 * 该部门有子部门不能直接删除
	 */
	public static final String ADMIN_CANNOT_CHILD_DELDEPARTMENT="100002";
	/**
	 * 不能删除有子节点的功能
	 */
	public static final String ADMIN_CANNOT_DELFUNCTION_CHILD="100003";
	/**
	 * 不能删除有角色引用
	 */
	public static final String ADMIN_CANNOT_DELFUNCTION_ROLE="100004";
	/**
	 * 用户引用的角色不能直接删除
	 */
	public static final String ADMIN_CANNOT_DELROLE="100005";
	/**
	 * 厂商产品引用的类别不能直接删除
	 */
	public static final String MANUFACTURER_CANNOT_DEL_PRODUCT_CATEGORY="100006";
	/**
	 * 商城产品引用的类别不能直接删除
	 */
	public static final String SHOPPING_CANNOT_DEL_PRODUCT_CATEGORY="100007";
	
	/**
	 * 该字典分组下存在字典，请先将字典移除
	 */
	public static final String DICTYPE_REFERENCED = "1015";
	/**
	 * refresh_token不能为空
	 */
	public static final String REFRESH_TOKEN_NULL = "1016";
	/**
	 * 用户密码还没有被设置过
	 */
	public static final String PASS_NOT_SET = "1017";
	/**
	 *微信登录失败
	 */
	public static final String WECHAT_LOGIN_FAIL = "1018";
	/**
	 * 资源集为空
	 */
	public static final String CRMAIN_NULL = "1019";
	/**
	 * 验证码已成功发送
	 */
	public static final String CODE_SENDED = "1021";
	/**
	 * 短信发送频繁，请稍后再发送
	 */
	public static final String SMS_SEND_FREQUENT = "1024";
	/**
	 * 该会员已经是您的好友,请勿重复添加
	 */
	public static final String DUP_FRIENDS = "1027";
	/**
	 * 您输入昵称过长
	 */
	public static final String NICKNAME_LENGTH_EXCEPT = "1028";
	/**
	 * 微信提现二维码已过期
	 */
	public static final String QR_CODE_EXPIRE = "1032";
	/**
	 * 微信提现重复提示
	 */
	public static final String DUP_RESENT = "1033";
	/**
	 * 会员投诉超过3次
	 */
	public static final String COMPLAINT_EXCEPT = "1034";
	
	/**
	 * 账号异常，请联系客服核对
	 */
	public static final String ACCOUNT_EXCEPTION = "6016";
	/**
	 * 上传图片主目录
	 */
	public static final String IMAGE = "image";
	/**
	 * 上传文件主目录
	 */
	public static final String FILE = "file";
	/**
	 * 物流公司id
	 */
	public static final Integer LOGISTICS_COMPANY = 2;
	/**
	 * 前台用户id
	 */
	public static final String APP_ID = "sa_id";
	/**
	 * 后台用户id
	 */
	public static final String ADMIN_ID = "sa_id";
	/**
	 * 后台用户访问票据
	 */
	public static final String ADMIN_ACCESSTOKEN = "access_token";
	/**
	 * 后台用户刷新票据
	 */
	public static final String ADMIN_REFRESHTOKEN = "refresh_token";
	/**
	 * 前台标识
	 */
	public static final int APP = 1;
	/**
	 * 后台标识
	 */
	public static final int ADMIN = 2;
	/**
	 * 经销商标识
	 */
	public static final Integer DEDEALER = 1;
	/**
	 * 分销商标识
	 */
	public static final Integer DISTRIBUTOR = 2;
	/**
	 * 手机APP端商城活动公告标识
	 */
	public static final Integer SHOP_ACTIVITY_NOTICE = 11;
	/**
	 * EXCEL不输出标识
	 */
	public static final String EXCEL_NO_OUTPUT = "EXCEL_NO_OUTPUT";
	/**
	 * 图片标识
	 */
	public static final String IMAGES = "images";
	/**
	 * 视频标识
	 */
	public static final String VIDEO = "video";
	/**
	 * 节点待审核
	 */
	public static final Integer NODE_WAIT_AUDIT = 0;
	/**
	 * 节点审核通过
	 */
	public static final Integer NODE_PASS = 1;
	/**
	 * 节点审核不通过
	 */
	public static final Integer NODE_REFUSE = 2;
	/**
	 * 节点隐藏
	 */
	public static final Integer NODE_HIDE = 0;
	/**
	 * 节点显示
	 */
	public static final Integer NODE_SHOW = 1;
}
